Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use commit SHA for image tags by default #3086

Merged
merged 1 commit into from
May 4, 2022
Merged

Conversation

martinmaly
Copy link
Contributor

Use commit SHA for Docker image tags by default.
Also explicitly mark images when built from modified repository.

@martinmaly martinmaly requested review from droot and mortent May 4, 2022 19:42
$(shell git diff --quiet)
ifneq ($(.SHELLSTATUS), 0)
git_tag := $(git_tag)-dirty
endif
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is neat. I will steal this bit for kpt version as well.

@martinmaly martinmaly merged commit 810f425 into kptdev:main May 4, 2022
@martinmaly martinmaly deleted the tag branch May 4, 2022 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants